package cn.tedu._04mvcboot02.commom.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    SUCCES(2000,"操作成功"),
    FAILED(3000,"操作失败");
    //内部状态码,提示消息
    private Integer code;
    private String msg;
}
